#ifndef __CORE_USB_PORT_H_
#define __CORE_USB_PORT_H_


#include "at32project_header.h"
#include "usb_conf.h"


void core_usb_init(uint8_t mode);
void hid_key_handler(uint32_t hid_key);

uint32_t usb_cdc_recv(uint8_t *buff);
uint32_t usb_cdc_send(uint8_t *buff, uint32_t length);

#endif

